package com.jiazhong.Collection;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class Test {
    public static void main(String[] args) {
        List<String> list=new ArrayList<>();
        Collections.addAll(list,"aaa","bbb","ccc","ddd","eee");//Collection下的addAll向列表调价很多元素
        System.out.println(list);

    }
}
